﻿@model IEnumerable<KRM.Core.vWebTicketAudit>

@foreach (var item in Model)
{
    <div class="ticket-activity-item" onclick="viewticket('@item.TicketID', '@item.Subject.Replace("'","\'")')">
        <div class="row-fluid">
            <div class="span2">
                <img alt="" src="/Upload/Avatar/@item.Avatar" onError="this.src='/upload/avatar/avatar-default.jpg';" style="background-color: #ddd !important; border-radius:3px; margin-top: 4px ">
            </div>
            <div class="span10">
                <div class="ticket-activity-item-status">
                    @item.Username <strong>@item.Action</strong> on "@item.Subject".
                </div>
                <div class="ticket-activity-item-date">
                    @string.Format("{0:hh:mm, dd/MM/yyyy}", item.Date)
                </div>
            </div>
        </div>
    </div>
}